package com.ershi.spring.aop.proxy.common;

import java.lang.reflect.Method;

/**
 * @author 二十
 * @since 2021/10/25 8:39 上午
 */
public class TargetMethod {
	/**
	 * 目标对象
	 */
	private Object target;
	/**
	 * 目标方法
	 */
	private Method method;
	/**
	 * 方法参数
	 */
	private Object[] args;



	public TargetMethod(Object target, Method method, Object[] args) {
		this.target = target;
		this.method = method;
		this.args = args;
	}

	public Object getTarget() {
		return target;
	}

	public void setTarget(Object target) {
		this.target = target;
	}

	public Method getMethod() {
		return method;
	}

	public void setMethod(Method method) {
		this.method = method;
	}

	public Object[] getArgs() {
		return args;
	}

	public void setArgs(Object[] args) {
		this.args = args;
	}
}
